/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package com.aaron.platform.exceptions;

import com.aaron.platform.common.ItscCheckedException;
import com.aaron.platform.common.ItscExceptions;

/**
 * 异常：组织不存在
 * @author chenzhuohua
 */
public class DomainNotExistException extends ItscCheckedException {

    /**
     * 组织名
     */
    private String orgName;

    public DomainNotExistException(String orgName) {
        super(ItscExceptions.DOMAIN_NOT_EXIST);
        this.orgName = orgName;
    }

    public DomainNotExistException() {
        super(ItscExceptions.DOMAIN_NOT_EXIST);
    }

    public String getOrgName() {
        return orgName;
    }

}
